package org.ruoyi.graph2.domain.bo;

import lombok.Data;

import java.util.UUID;

// KnowledgeNode.java
@Data
public class KnowledgeNodeBo {
	private String id;
	private String title;
	private String content;
	private String level; // "knowledge_unit" or "knowledge_point"
	private int depth; // 层级深度: 1, 2, 3, 4
	private String fullPath; // 完整路径如 "1.1.1"
	private String graphGroup;

	// constructors, getters, setters
	public KnowledgeNodeBo(String title, String content, String level, int depth, String fullPath, String graphGroup) {
		this.id = UUID.randomUUID().toString();
		this.title = title;
		this.content = content;
		this.level = level;
		this.depth = depth;
		this.fullPath = fullPath;
		this.graphGroup = graphGroup;
	}

	// getters and setters...
}
